package com.open.capacity.notice.provider;

public enum MessageError {

	CONNECT_TIMEOUT_ERROR("A3001", "服务连接超时"), OPERATE_ERROR("A0051", "数据库操作异常"),
	COMSUMER_ERROR("A3002", "消息消费异常，建议重新发送"), SHIED_ERROR("A3003", "该任务已按配置屏蔽发送"),;

	private String errorCode;

	private String errorMessage;

	MessageError(String errorCode, String errorMessage) {
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}
}
